// 路由---云贷
const Layout = resolve => require(['@/templates/layout.vue'], resolve)
export const loans = [
	{
		path: '/loans',
      	component: Layout,
      	children: [
	       {
		        path: 'cockpit',
		        meta: {
		            title: '云贷管理驾驶舱',
		        	type: 'normal',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/cockpit.vue'], resolve)
	        },{
		        path: 'achievement',
		        meta: {
		            title: '云贷-业绩',		            
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/achievement.vue'], resolve)
	        },{
		        path: 'actual',
		        meta: {
		            title: '云贷-实时',
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/actual.vue'], resolve)
	        },{
		        path: 'credit',
		        meta: {
		            title: '云贷-授信',
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/credit.vue'], resolve)
	        },{
		        path: 'storage',
		        meta: {
		            title: '云贷-在库',
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/storage.vue'], resolve)
	        },{
		        path: 'afterloan',
		        meta: {
		            title: '云贷-贷后',
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/afterloan.vue'], resolve)
	        },{
		        path: 'hr',
		        meta: {
		            title: '云贷-人力',
		        	type: 'router',
		        	parent: 'loans',
		        },
		        component: resolve => require(['@/views/loans/hr.vue'], resolve)
	        },
      	]
    },
]